package top.sjydzq.www.service;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.sjydzq.www.bean.Product;

import java.util.List;

@Repository("StarDAO")
@Mapper
public interface StarService {
    public List<Product> selectAllByUid(int userId);
    public int selectCountById(int productId, int userId);
    public boolean addStar(int productId, int userId);
}
